<?php
require_once(SRC_PATH."Object/Crawler/Image.php");
class Link{
	
	private $link;
	private $ttl;
	private $text;
	private $title;
	private $image;	
	
	public function __construct(	$link = NULL, 
													$ttl = NULL, 
													$text = NULL, 
													$title = NULL, 
													$image = NULL){
		$this->link = $link;
		$this->ttl = $ttl;
		$this->text = $text;
		$this->title = $title;
		$this->image = $image;													
	}	
	
	public function setLink($link){
		$this->link = $link;
	}
	
	public function setTtl($ttl){
		$this->ttl = $ttl;
	}
	
	public function setText($text){
		$this->text = $text;
	}
	
	public function setTitle($title){
		$this->title = $title;
	}
	
	public function setImage($image){
		$this->image = $image;
	}
	
	public function getLink(){
		return $this->link;
	}
	
	public function getTtl(){
		return $this->ttl;
	}
	
	public function getText(){
		return $this->text;
	}
	
	public function getTitle(){
		return $this->title;
	}
	
	public function getImage(){
		return $this->image;
	}
}
?>